﻿namespace Whut.ObjectSharePointMapper
{
    using System;

    [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
    public sealed class FieldAttribute : Attribute
    {
        public FieldAttribute(string fieldId)
        {
            this.FieldId = new Guid(fieldId);
        }

        public Guid FieldId { get; private set; }
    }
}
